sasl: suspend processes concurrently during release upgrades - #11009
sasl: suspend processes concurrently during release upgrades#11009v0idpwn wants to merge 2 commits into
Conversation
Add sys:multi_suspend/1,2 and use it in release_handler_1 to send suspend requests in parallel instead of one at a time.
CT Test Results 3 files 104 suites 1h 13m 12s ⏱️ Results for commit da4248c. ♻️ This comment has been updated with latest results. To speed up review, make sure that you have read Contributing to Erlang/OTP and that all checks pass. See the TESTING and DEVELOPMENT HowTo guides for details about how to run test locally. Artifacts
// Erlang/OTP Github Action Bot |
|
Two test additions on top of this PR if useful. Branch: tests/11009-multi-suspend-timeout (or view as compare-against-master; rebased onto the PR head).
Happy to fold into this PR via cherry-pick or amend, open as a separate PR, or drop the suggestion entirely. Whatever fits. |
Adds
sys:multi_suspend/1,2and use it inrelease_handler_1to send suspend requests in parallel instead of one at a time.I'm not sure about the new API in
sys, but it felt like the cleanest way to do it. Appreciate any takes on it.Closes #11001